﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UIWindows.Models.Homes
{
    public class TrendModel : Domains.ViewModelBase
    {

        private string _name;
        /// <summary>
        /// 注液泵与杯号名字，组成方式：注液泵号_杯号
        /// </summary>
        public string Name
        {
            get { return _name; }
            set { SetProperty(ref _name, value); }
        }
        private double standardDeviation;
        /// <summary>
        /// 标准差
        /// </summary>
        public double StandardDeviation
        {
            get { return standardDeviation; }
            set { SetProperty(ref standardDeviation, value); }
        }
        private double cpk;
        /// <summary>
        /// CPK
        /// </summary>
        public double CPK
        {
            get { return cpk; }
            set { SetProperty(ref cpk, value); }
        }

        private double deviation;
        /// <summary>
        /// 偏差
        /// </summary>
        public double Deviation
        {
            get { return deviation; }
            set { SetProperty(ref deviation, value); }
        }

        /// <summary>
        /// 注液集合
        /// </summary>
        public ObservableCollection<double> InjectionVolumeCollection { get; set; }

        /// <summary>
        /// 计算模型
        /// </summary>
        public ProcessCapabilityModel ProcessCapability { get; set; }
    }
}
